package indi.defoliation.unknownrpg.api.rpgevent.player;

import org.bukkit.entity.Player;

import indi.defoliation.unknownrpg.api.attribute.Attribute;

public class PlayerChangeExpEvent extends PlayerEvent{
	
	private int exp;
	
	public PlayerChangeExpEvent(Player who,int exp) {
		super(who);
		this.exp=exp;
	}
	
	public int getExp() {
		return exp;
	}
	
	public void setExp(Attribute operator,int exp) {
		this.exp=exp;
		super.putLog(operator, this.clone());
	}
}
